home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / relnotes / modules / ch3.z / ch3
Text File  |  2001-04-17  |  2KB  |  55 lines

  1. Installing MIPSpro for use with Modules
  2. ---------------------------------------
  3.  
  4. Install the modules package into the default root. Once this is done,
  5. you can install the MIPSpro compilers as follows.
  6.  
  7. The MIPSpro modulefile will work with the following general installation:
  8.  
  9. # inst -r /opt/MIPSpro/"version" -f "location of MIPSpro distribution"
  10.  
  11. Where version is "version.base" for a base package or the name of a patch set.
  12. If you are applying a patch set to a version in /opt/MIPSpro, you must
  13. copy the version you are patching to the new patch set directory prior to
  14. installing the patches via -r /opt/MIPSpro/"patch set".
  15.  
  16. Once the software is installed, you must set the MIPSpro link as follows:
  17. # cd /opt/MIPSpro
  18. # ln -s "version" MIPSpro        (MIPSpro modulefile uses this link)
  19.  
  20. When installing compilers from CD-ROM with "inst -r" for use
  21. with the Modules utility, the location of the distribution has to be
  22. specified as:
  23.     inst -f /CDROM/dist             on IRIX 6.2
  24.     inst -f /CDROM/dist/dist6.3     on IRIX 6.3
  25.     inst -f /CDROM/dist/dist6.4     on IRIX 6.4
  26.  
  27. For example to install the MIPSpro C 7.2 CD on an IRIX 6.4 platform under
  28. /opt/MIPSpro:
  29.  
  30.     1. insert the MIPSpro C 7.2 CD in the CDROM drive
  31.     2. inst -r /opt/MIPSpro/72 -f /CDROM/dist6.4
  32.     3. cd /opt/MIPSpro
  33.         4. ln -s 72 MIPSpro
  34.  
  35.  
  36. To access the MIPSpro compiler using modules:
  37.  
  38. % source /opt/modules/modules/init/csh   (should be added to .cshrc)
  39. % module load modules             (should be added to .cshrc)
  40. % module load MIPSpro            (can be added to .cshrc)
  41.  
  42. For each version of the MIPSpro compiler you maintain, you can create
  43. a modulefile for it by copying the MIPSpro modulefile to /opt/modulefiles
  44. as MIPSpro."version". Then edit MIPSpro."version" and change the
  45. value of MIPSPRO_LEVEL to "version".
  46. Example: You are maintaining a version named old72 as /opt/MIPSpro/old72.
  47. To create a modulefile for /opt/MIPSpro/old72, copy /opt/modulefiles/MIPSpro
  48. to /opt/modulefiles/MIPSpro.old72 and change the value of MIPSPRO_LEVEL
  49. to old72.  Users can then change between this version and any other
  50. version using the module swap command.
  51. % module swap MIPSpro MIPSpro.old72
  52.  
  53. NOTE: you should make sure you have the proper flexlm licenses
  54. installed on the system you intend to run the MIPSpro environment on.
  55.